package STUDENT.NGUYENSANG.OOPs.EX2_BANG_HINH;

import java.util.Scanner;

public class ChuanISO extends RanDom{
	static Scanner input=new Scanner(System.in);
	public void NhapNhaMang(){
		System.out.println("Nhap ten Nha Cung Cap: ");
		String C=input.nextLine();
		this.setTenCCDV(C);
	}
	public void NhaCCDV()
	{
		System.out.println("Nha CCDV: "+this.getTenCCDV());
	}
	@Override
	public void tanSo()
	{
		System.out.println("Moi Ban Chon Tan So Tu 1-3: ");
		int chon=input.nextInt();
		this.setChon(chon);
		super.tanSo();
	}
	//static Scanner input=new Scanner(System.in);
	@Override
	public void bangTan()
	{
		System.out.println("Moi Ban Chon Bang Tan 1-3: ");
		int chon=input.nextInt();
		this.setChon(chon);
		super.bangTan();
	}
}
